package com.guet.mapper;

import com.guet.Entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RegisterMapper {
    @Select("select count(*) from user where account = #{account}")
    boolean queryAccount(String account);

    void register(User user);
}
